package com.quanyan.place.service.impl;

import com.quanyan.api.APIResponse;
import com.quanyan.common.Plugin.PageObj;
import com.quanyan.place.entity.TbBizPlace;
import com.quanyan.place.entity.TbBizPlaceEmployee;
import com.quanyan.place.entity.apireq.ReqVisitedVo;
import com.quanyan.place.entity.apiresp.RespVisitInfo;
import com.quanyan.place.entity.vo.VisitedFromDataVo;

import java.util.List;

/**
 * Created by liuyaoxin on 2016/6/16.
 */


public interface VisitedService<T> {

 APIResponse<T> importVisitedRecord(VisitedFromDataVo visitedFormDataVo);

 APIResponse<T> updateVisitedRecord(VisitedFromDataVo visitedFromDataVo);

 APIResponse<T> selectVisitedRecord(ReqVisitedVo reqVisitedVo);

 APIResponse<PageObj<List<RespVisitInfo>>> selectVisitedRecordList(ReqVisitedVo reqVisitedVo);

 void importVisitedRecordByImportPlace(TbBizPlace tbBizPlace);

 TbBizPlaceEmployee getTitleRoleByUid(VisitedFromDataVo vo);
}
